package com.yzy.soft.common.persistence.model;
import javax.persistence.*;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
/**
* @author Yinzhiyuan
* @date 2018-12-28 15:41:05
*/
//@Entity
@TableName(value="template_java_controller")
public class TemplateJavaController extends Model<TemplateJavaController> {

    /**
     *
     */
    @TableId(type= IdType.AUTO)
    private Integer id;

    /**
     *模板的名称
     */
    private String name;

    /**
     *模板地址
     */
    private String url;

    /**
     *默认作者
     */
    @TableField(value="default_author")
    private String defaultAuthor;

    /**
     *
     */
    @TableField(value="default_create_time")
    private String defaultCreateTime;

    /**
     *
     */
    @TableField(value="default_encoding")
    private String defaultEncoding;

    /**
     *
     */
    @TableField(value="default_filename")
    private String defaultFilename;

    /**
     *
     */
    @TableField(value="default_filename_concat")
    private String defaultFilenameConcat;

    /**
     *
     */
    @TableField(value="default_annotation")
    private String defaultAnnotation;

    /**
     *
     */
    @TableField(value="default_request_mapping")
    private String defaultRequestMapping;

    /**
     *
     */
    @TableField(value="default_package_name")
    private String defaultPackageName;

    /**
     *
     */
    @TableField(value="default_disk_path")
    private String defaultDiskPath;

    /**
     *
     */
    private String description;

    /**
     *
     */
    private String createperson;

    /**
     *
     */
    private String makerperson;

    /**
     *
     */
    private Date createtime;

    /**
     *
     */
    private Date lastupdatetime;

    /**
     *
     */
    private String makegoal;

    /**
     *
     */
    private String lastupdategoal;

    /**
     *
     */
    private Integer userflag;

    /**
     *
     */
    private String deleteflag;

    /**
     *
     */
    private String spareflag1;

    /**
     *
     */
    private String spareflag2;

    /**
     *
     */
    private String spareflag3;

    /**
     *
     */
    private String spareflag4;

    /**
     *
     */
    private String spareflag5;

    /**
     *
     */
    private String sparefield1;

    /**
     *
     */
    private String sparefield2;

    /**
     *
     */
    private String sparefield3;

    /**
     *
     */
    private String sparefield4;

    /**
     *
     */
    private String sparefield5;

    /**
     *
     */
    private String sparefield6;

    /**
     *
     */
    @TableField(value="template_java_id")
    private String templateJavaId;


    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDefaultAuthor() {
        return this.defaultAuthor;
    }

    public void setDefaultAuthor(String defaultAuthor) {
        this.defaultAuthor = defaultAuthor;
    }

    public String getDefaultCreateTime() {
        return this.defaultCreateTime;
    }

    public void setDefaultCreateTime(String defaultCreateTime) {
        this.defaultCreateTime = defaultCreateTime;
    }

    public String getDefaultEncoding() {
        return this.defaultEncoding;
    }

    public void setDefaultEncoding(String defaultEncoding) {
        this.defaultEncoding = defaultEncoding;
    }

    public String getDefaultFilename() {
        return this.defaultFilename;
    }

    public void setDefaultFilename(String defaultFilename) {
        this.defaultFilename = defaultFilename;
    }

    public String getDefaultFilenameConcat() {
        return this.defaultFilenameConcat;
    }

    public void setDefaultFilenameConcat(String defaultFilenameConcat) {
        this.defaultFilenameConcat = defaultFilenameConcat;
    }

    public String getDefaultAnnotation() {
        return this.defaultAnnotation;
    }

    public void setDefaultAnnotation(String defaultAnnotation) {
        this.defaultAnnotation = defaultAnnotation;
    }

    public String getDefaultRequestMapping() {
        return this.defaultRequestMapping;
    }

    public void setDefaultRequestMapping(String defaultRequestMapping) {
        this.defaultRequestMapping = defaultRequestMapping;
    }

    public String getDefaultPackageName() {
        return this.defaultPackageName;
    }

    public void setDefaultPackageName(String defaultPackageName) {
        this.defaultPackageName = defaultPackageName;
    }

    public String getDefaultDiskPath() {
        return this.defaultDiskPath;
    }

    public void setDefaultDiskPath(String defaultDiskPath) {
        this.defaultDiskPath = defaultDiskPath;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreateperson() {
        return this.createperson;
    }

    public void setCreateperson(String createperson) {
        this.createperson = createperson;
    }

    public String getMakerperson() {
        return this.makerperson;
    }

    public void setMakerperson(String makerperson) {
        this.makerperson = makerperson;
    }

    public Date getCreatetime() {
        return this.createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLastupdatetime() {
        return this.lastupdatetime;
    }

    public void setLastupdatetime(Date lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    public String getMakegoal() {
        return this.makegoal;
    }

    public void setMakegoal(String makegoal) {
        this.makegoal = makegoal;
    }

    public String getLastupdategoal() {
        return this.lastupdategoal;
    }

    public void setLastupdategoal(String lastupdategoal) {
        this.lastupdategoal = lastupdategoal;
    }

    public Integer getUserflag() {
        return this.userflag;
    }

    public void setUserflag(Integer userflag) {
        this.userflag = userflag;
    }

    public String getDeleteflag() {
        return this.deleteflag;
    }

    public void setDeleteflag(String deleteflag) {
        this.deleteflag = deleteflag;
    }

    public String getSpareflag1() {
        return this.spareflag1;
    }

    public void setSpareflag1(String spareflag1) {
        this.spareflag1 = spareflag1;
    }

    public String getSpareflag2() {
        return this.spareflag2;
    }

    public void setSpareflag2(String spareflag2) {
        this.spareflag2 = spareflag2;
    }

    public String getSpareflag3() {
        return this.spareflag3;
    }

    public void setSpareflag3(String spareflag3) {
        this.spareflag3 = spareflag3;
    }

    public String getSpareflag4() {
        return this.spareflag4;
    }

    public void setSpareflag4(String spareflag4) {
        this.spareflag4 = spareflag4;
    }

    public String getSpareflag5() {
        return this.spareflag5;
    }

    public void setSpareflag5(String spareflag5) {
        this.spareflag5 = spareflag5;
    }

    public String getSparefield1() {
        return this.sparefield1;
    }

    public void setSparefield1(String sparefield1) {
        this.sparefield1 = sparefield1;
    }

    public String getSparefield2() {
        return this.sparefield2;
    }

    public void setSparefield2(String sparefield2) {
        this.sparefield2 = sparefield2;
    }

    public String getSparefield3() {
        return this.sparefield3;
    }

    public void setSparefield3(String sparefield3) {
        this.sparefield3 = sparefield3;
    }

    public String getSparefield4() {
        return this.sparefield4;
    }

    public void setSparefield4(String sparefield4) {
        this.sparefield4 = sparefield4;
    }

    public String getSparefield5() {
        return this.sparefield5;
    }

    public void setSparefield5(String sparefield5) {
        this.sparefield5 = sparefield5;
    }

    public String getSparefield6() {
        return this.sparefield6;
    }

    public void setSparefield6(String sparefield6) {
        this.sparefield6 = sparefield6;
    }

    public String getTemplateJavaId() {
        return this.templateJavaId;
    }

    public void setTemplateJavaId(String templateJavaId) {
        this.templateJavaId = templateJavaId;
    }

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}